<%@ page language="java" pageEncoding="UTF-8"%>
<div class="panel panel-default" ng-controller="UserPasswordUpdateController">
	<div class="panel-heading">
		修改密码
	</div>
	<div class="panel-body">
		<form callback="save" validate>
			<div class="form-group">
				<label>
					原密码
				</label>
				<input type="text" class="form-control" name="password" ng-model="user.oldPassword" rule="required;length[5~20];">
			</div>
			
			<div class="form-group">
				<label>
					新密码
				</label>
				<input type="text" class="form-control" name="newPassword" ng-model="user.newPassword" rule="required;length[5~20];">
			</div>
			<div class="form-group">
				<label>
					确认新密码
				</label>
				<input type="text" class="form-control" name="checkNewPassword" ng-model="user.checkNewPassword" rule="required;length[5~20];match[newPassword];">
			</div>
			
			<div>
				<button type="submit" class="btn btn-success btn-sm"><i class="glyphicon glyphicon-ok"/> 更新</button>
			</div>
		</form>
	</div>
</div>